<?php
//=========================
//Vuong Van Binh
//Wanbin@vietnambiz.com
//=========================
include ADMIN_INCLUDE_DIR."/header.php";

edit_member();
$member_edit = get_member_edit();
?>
<div class="container_l">
		<div class="title_user"><img src="images/icon1.gif" />Cập nhật thành viên</div>
		<div class="table_user">
			<div class="table_user_in2">
			<?php 
					show_error(); 
					show_success(); 
			?>
				<fieldset>
				<form action="" method="post">
					<div class="lineaddnew">
						<div class="lineform">
							<div class="divlabel">Tên đầy đủ: <font color="#FF0000">*</font></div>
							<div class="divform"><input type="text" name="fullname" value="<?php echo htmlentities_utf8($member_edit["fullname"]); ?>"/></div>
						</div>
						
						<div class="lineform">
							<div class="divlabel">Tên đăng nhập: <font color="#FF0000">*</font></div>
							<div class="divform"><input type="text" name="username" value="<?php echo htmlentities_utf8($member_edit["username"]); ?>"/></div>
						</div>			
						<div class="lineform">
							<div class="divlabel">Tên công ty: <font color="#FF0000">*</font></div>
							<div class="divform"><input type="text" name="company" value="<?php echo htmlentities_utf8($member_edit["company"]); ?>"/></div>
						</div>
                                               
						
						<div class="spacer1"><span></span></div>
					</div>
					<div class="spacer1"><span></span></div>
				</fieldset>
				
				<div class="linesubmit">
					<input type="hidden" name="edit_id" value="<?php echo $member_edit["mem_id"]; ?>" />
					<input type="hidden" name="editmem" value="okie" />
					<input type="submit" name="editmem" value="Lưu lại" class="button" />
                                        <input type="button" onclick="javascript:history.go(-1);" name="exit" value="Thoát" class="button" />
				</div>
			</form>
				
			</div>
		</div>
	</div>
<?php
include "inc/right.php"; 
include ADMIN_INCLUDE_DIR."/footer.php"; 
?>